package com.hpsk.shopsatoken.model.user.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hpsk.shopsatoken.model.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huangwang
 * @since 2025-05-22
 */
public interface UserMapper extends BaseMapper<User> {
    // 或者返回 List
    @Select("SELECT * FROM user")
    Page<User> selectPageVo(IPage<?> page);
}
